package com.zhuiyun.educations.api.record.service;

import com.zhuiyun.educations.api.record.entity.Record;
import com.zhuiyun.educations.common.response.CommonResult;
import com.zhuiyun.educations.util.pageUtil.PageRequest;


/**
 * @ClassName RecordService
 * @Description TODO 开通会员管理
 * @Author ys
 * @Date 2023/6/20 14:15
 **/
public interface RecordService {
    /**
     * @Author ys
     * @Description TODO 分页查询
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult getRecord(PageRequest pageRequest);
    /**
     * @Author ys
     * @Description TODO 逻辑删除
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult deleteRecordById(int id);
    /**
     * @Author ys
     * @Description TODO 新增
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult addRecord(Record record);
    /**
     * @Author ys
     * @Description TODO 开通用户下拉
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult userSelect();
    /**
     * @Author ys
     * @Description TODO 会员类型下拉
     * @Date 2023/6/26 14:09
     * @Return CommonResult
     * @param
     */
    CommonResult memberSelect();

}
